package com.akk.business;

import com.akk.module.avs.entity.DirectSalesBank;
import com.akk.module.avs.service.DirectSalesBankService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 直销银行
 */
@Component
public class DirectSalesBankBusiness {

    @Autowired
    private DirectSalesBankService directSalesBankService;

    /**
     * 获取列表数据
     *
     * @param appId
     * @return
     */
    public List<DirectSalesBank> findByAppId(String appId) {
        return directSalesBankService.findByAppIdAndStatus(appId);
    }

}
